export const request = ({ type, url, data }) => new Promise(reslove => $.ajax({
    type, url, data, success: reslove
}));
